package hhm.wechat.test;

import hhm.wechat.pojo.AccessToken;
import hhm.wechat.utils.FileUtil;
import hhm.wechat.utils.WeixinUtil;

public class GetAccessToken {
	public static void main(String[] args) {
		AccessToken token = new AccessToken();
		token = WeixinUtil.getAccessToken();

		FileUtil.writeToFile("access_token", token.getAccess_token());

	}
}
